TEMPLATE    =  lib
CONFIG     +=  dll
CONFIG     +=  c++11
CONFIG     +=  console 
TARGET      =  Compiler
QT         +=  core widgets gui 
DEFINES    +=  COMPILER_API

unix:!mac{ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/\'" }

include(./Compiler.pri)
include( ../../laserworks.pri)

win32{

    INCLUDEPATH    +=  ./   \

    Release:CONFIG            +=  console
    Release:DESTDIR         =  ../../output/Release/bin
    Release:MOC_DIR         =  ../../output/Release/moc
    Release:RCC_DIR         =  ../../output/Release/rcc
    Release:UI_DIR          =  ../../output/Release/qui
    Release:OBJECTS_DIR     =  ../../output/Release/objects
    Release:LIBS     += -L../../output/Release/bin \
		-lApplication \
		-lLogger \
        
    Debug:CONFIG            +=  console
    Debug:DESTDIR         =  ../../output/Debug/bin
    Debug:MOC_DIR         =  ../../output/Debug/moc
    Debug:RCC_DIR         =  ../../output/Debug/rcc
    Debug:UI_DIR          =  ../../output/Debug/qui
    Debug:OBJECTS_DIR     =  ../../output/Debug/objects
    Debug:LIBS     += -L../../output/Debug/bin \
		-lApplication \
		-lLogger \

    message("Name Compiler Project Generated!")
}
